home *** CD-ROM | disk | FTP | other *** search
- *******************************************************
- Author: Bruno Fierens
- TMS Software
- J. Jordaens str. 11
- B8510 Marke
- Belgium
- Fax : +32 56 963535
- E-mail: bruno.fierens@ven.be
- http://www.ven.be/freestyle/delphi.htm
- *******************************************************
-
- TCalComp (revision 1.5) :
- Calcomp is a Microsoft Money style popup calendar control.
- It provides easy selection of dates, using a display of all
- days of the selected month, or all months of the selected
- year. Delphi 1.0, 2.0 and 3.0 components are included.
-
- Usage :
- This component is freeware for non-commercial applications.
- License is equivalent to buying source code, and is available
- for $40. Licensed users get source code updates for all 1.x
- versions. Send cheque or cash for $40 to address above and
- source code will be sent by email immediately upon receipt.
-
- History:
- 12/9/97 : Added C++Builder support
- Added property to set date from which week counting must start
- to be able to use week numbers for fiscal years
- 31/8/97 : Added color property for weekend days
- Added read-only week property
- 13/7/97 : Added new Delphi 3 support
- 25/6/97 : Added better keyboard support : up/down/left/right
- arrows change day resp. +7/-7 -1/+1 day. Spacebar
- toggles between day & month mode. PgUp and PgDn
- changes month resp. +1/-1 month.
- 25/5/97 : Added startofweek property and color properties
- for background, text, selected text and invers text
- 25/4/97 : fix for using component in smtop mode and
- unwanted incrementing months
- 18/4/97 : fix error when clicking on some specific regions
- for 32 bit version
-
-
-
- Known issues:
- There are currently no known problems with CalComp.
- Let me know if problems show up, or if you wish other
- features for this component.
-
- Installation:
-
- 1. In the delphi menu select:
- Component > Install > Add > Browse
-
- 2. Select calcomp.dcu and accept.
-
- Example use:
-
- 1. Drop a TCalcomp component in the main form.
- 2. Drop a TButton component in the main form.
- 3. In the TButton click event handler, add following code
-
- TCalcomp1.Execute;
-
- The execute method returns true if a correct date was
- selected, false if selection was cancelled.
-
- 4. Access the day,month,year properties before and after
- the execute method, to change other data according to
- the popup calendar selection.
- 5. For placement of the popup calendar, choose the AlignControl
- to let the popup calendar automatically align to another
- control.
-
-
-
-